using System;

namespace Sanjeet.FastCopy.FileCopyLogic
{
    public class FileSystemOperationEventArg : EventArgs
    {
        private readonly bool completed;
        private readonly string message;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        public FileSystemOperationEventArg(string message)
        {
            this.message = message;
            completed = false;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        /// <param name="completed"></param>
        public FileSystemOperationEventArg(string message, bool completed)
        {
            this.message = message;
            this.completed = completed;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Message
        {
            get { return message; }
        }

        /// <summary>
        /// 
        /// </summary>
        public bool Completed
        {
            get { return completed; }
        }
    }
}